<template>
	<view class="mainBox" style="display: flex; flex-direction:column; justify-content: center;">
		<view class="lottery-result__more">
			<button @click="onGo(0)">事业代表</button>
			<button @click="onGo(1)">业务员</button>
			<button @click="onGo(2)">商家入驻</button>
			<button @click="onGo(3)">SAPP服务商</button>
			<button @click="onGo(4)">城市服务商</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				image: "",
				current: null,
				content: '',
				nid: '',
				list: [{
						name: '事业代表',
						url: '/package/mine/taxationForm?nid=1'
					},
					{
						name: '业务员',
						url: '/package/mine/openVip'
					},
					{
						name: '商家入驻',
						url: '/package/mine/joinService?pageType=2'
					},
					{
						name: '推广员',
						url: '/package/mine/joinService?pageType=0'
					},
					{
						name: '代理',
						url: '/package/mine/joinService?pageType=1'
					},
				],
			}
		},
		onLoad() {},
		methods: {
			onGo(i) {
				this.onSkip(this.list[i].url)
			},
			open(n) {
				this.$refs[n].open();
			},
			close(n) {
				this.$refs[n].close();
			},
		}
	}
</script>

<style lang="scss" scoped>
	.mainBox {
		background: no-repeat fixed url('https://wx.2024csnl.com/static/mine/winnerBg.png');
		background-size:100% 100%;
		height: 100vh;
	}

	.lottery-result__more {
		padding: 20px 40px;

		button {
			margin-top: 20px;
			width: 100%;
			height: 60px;
			line-height: 60px;
			border: 0;
			border-radius: 6px;
			background: #fffffe;
			color: #ff6336;
		}
	}

	image {
		width: 100%;
		height: 120vh;
	}
</style>